home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Golf Digest's Best Places to Play
/
Golf Digest's Best Places to Play.iso
/
diamond
/
dbrs_ibm.dir
/
00036_Script_JourneyScript
< prev
next >
Wrap
Text File
|
1995-05-15
|
1KB
|
42 lines
on exitFrame
go to marker(0)+4
end
on mouseDown
set ButtonNum=the clickOn
if ButtonNum>0 then
set ButtonName=the name of cast (the castNum of sprite ButtonNum)
if (ButtonNum >1) and (ButtonNum < 5) then
WhatPick(ButtonNum)
end if
if chars(ButtonName,1,6) = "ToMain" then
if PressBtn(ButtonNum) then
AllPuppetsOff
go to marker(0)+5
end if
end if
if chars(ButtonName,1,4) = "Help" then
if PressBtn(ButtonNum) then
showHelp
puppetsprite ButtonNum, true
set the castNum of sprite ButtonNum to the number of cast (ButtonName)
puppetsprite ButtonNum, false
end if
end if
end if
end mouseDown
on WhatPick ButtonNum
puppetsound 0
set ButtonName=the name of cast (the castNum of sprite ButtonNum)
repeat with i=2 to 4
puppetSprite i, false
end repeat
updateStage
puppetSprite ButtonNum, true
puppetSprite 5, true
set the castNum of sprite ButtonNum to the number of cast (ButtonName & "Down")
updateStage
set the castNum of sprite 5 to the number of cast (ButtonName & "Big")
updateStage
end WhatPick